package com.omar.labs.tamtamy;

public class Comment {
	
	protected long id;
	protected long contentId;
	protected String user;
	protected String creationDate;
	protected String comment;
		
	public Comment() {
		super();
		this.id = 0;
		this.contentId = 0;
		this.user = null;
		this.creationDate = null;
		this.comment = null;
	}
	
	public Comment(long id, long contentId, String user, String creationDate, String comment) {
		super();
		this.id = id;
		this.contentId = contentId;
		this.user = user;
		this.creationDate = creationDate;
		this.comment = comment;
	}

	public long getId() {
		return id;
	}
	
	public void setId(long id) {
		this.id = id;
	}
	
	public long getContentId() {
		return contentId;
	}
	
	public void setContentId(long contentId) {
		this.contentId = contentId;
	}
	
	public String getUser() {
		return user;
	}
	
	public void setUser(String user) {
		this.user = user;
	}
	
	public String getCreationDate() {
		return creationDate;
	}
	
	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}
	
	public String getComment() {
		return comment;
	}
	
	public void setComment(String comment) {
		this.comment = comment;
	}
	
	public void print(){
		System.out.println("== COMMENT ==");
		System.out.println("id: " + this.id);
		System.out.println("contentId: " + contentId);
		System.out.println("user: " + user);
		System.out.println("creationDate: " + creationDate);
		System.out.println("comment: " + comment);
	}
}
